package com.aihuishou.web;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author Zhang Jintao
 * @Date 2021/3/23 15:34
 * @Version 1.0
 */
@RestController
@ResponseBody
@Slf4j
public class RedisController {

    @GetMapping("/")
    public String hello() {
        log.info("被访问了");
        return "Hello";
    }


}
